package com.wxm.pattern.abstractfactory;

public class PigFactory implements IAnimalFactory {
    @Override
    public IEat getEat() {
        return new PigEat();
    }

    @Override
    public ISleep getSleep() {
        return new PigSleep();
    }
}
